/*
 * @Description: 文件内容描述
 * @Author: pangyawei
 * @Date: 2022-06-20 10:20:58
 * @LastEditTime: 2022-06-20 10:24:13
 * @LastEditors: xxx
 */
import { createRouter, createWebHashHistory , createWebHistory } from 'vue-router'

const routes = [
    {
        path:'/',
        redirect: '/home',
    },
    {
        path:'/home',
        name:'/home',
        component:()=>import('@/views/home.vue')
    },
]

const router = createRouter({
    history: createWebHistory(),
  //   base: process.env.BASE_URL,
    routes
  })
  
  export default router;